Optimal. Leaf size=84 \[ \frac{a^3 A c^3 \tan ^5(e+f x)}{5 f}+\frac{2 a^3 A c^3 \tan ^3(e+f x)}{3 f}+\frac{a^3 A c^3 \tan (e+f x)}{f}+\frac{a^3 B c^3 \sec ^6(e+f x)}{6 f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12589, antiderivative size = 84, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 41, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.098, Rules used = {3588, 73, 641, 194} \[ \frac{a^3 A c^3 \tan ^5(e+f x)}{5 f}+\frac{2 a^3 A c^3 \tan ^3(e+f x)}{3 f}+\frac{a^3 A c^3 \tan (e+f x)}{f}+\frac{a^3 B c^3 \sec ^6(e+f x)}{6 f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3588
Rule 73
Rule 641
Rule 194
Rubi steps
\begin{align*} \int (a+i a \tan (e+f x))^3 (A+B \tan (e+f x)) (c-i c \tan (e+f x))^3 \, dx &=\frac{(a c) \operatorname{Subst}\left (\int (a+i a x)^2 (A+B x) (c-i c x)^2 \, dx,x,\tan (e+f x)\right )}{f}\\ &=\frac{(a c) \operatorname{Subst}\left (\int (A+B x) \left (a c+a c x^2\right )^2 \, dx,x,\tan (e+f x)\right )}{f}\\ &=\frac{a^3 B c^3 \sec ^6(e+f x)}{6 f}+\frac{(a A c) \operatorname{Subst}\left (\int \left (a c+a c x^2\right )^2 \, dx,x,\tan (e+f x)\right )}{f}\\ &=\frac{a^3 B c^3 \sec ^6(e+f x)}{6 f}+\frac{(a A c) \operatorname{Subst}\left (\int \left (a^2 c^2+2 a^2 c^2 x^2+a^2 c^2 x^4\right ) \, dx,x,\tan (e+f x)\right )}{f}\\ &=\frac{a^3 B c^3 \sec ^6(e+f x)}{6 f}+\frac{a^3 A c^3 \tan (e+f x)}{f}+\frac{2 a^3 A c^3 \tan ^3(e+f x)}{3 f}+\frac{a^3 A c^3 \tan ^5(e+f x)}{5 f}\\ \end{align*}
Mathematica [A] time = 0.259436, size = 65, normalized size = 0.77 \[ \frac{a^3 A c^3 \left (\frac{1}{5} \tan ^5(e+f x)+\frac{2}{3} \tan ^3(e+f x)+\tan (e+f x)\right )}{f}+\frac{a^3 B c^3 \sec ^6(e+f x)}{6 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.012, size = 75, normalized size = 0.9 \begin{align*}{\frac{{a}^{3}{c}^{3}}{f} \left ({\frac{B \left ( \tan \left ( fx+e \right ) \right ) ^{6}}{6}}+{\frac{A \left ( \tan \left ( fx+e \right ) \right ) ^{5}}{5}}+{\frac{B \left ( \tan \left ( fx+e \right ) \right ) ^{4}}{2}}+{\frac{2\,A \left ( \tan \left ( fx+e \right ) \right ) ^{3}}{3}}+{\frac{B \left ( \tan \left ( fx+e \right ) \right ) ^{2}}{2}}+A\tan \left ( fx+e \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.67341, size = 143, normalized size = 1.7 \begin{align*} \frac{5 \, B a^{3} c^{3} \tan \left (f x + e\right )^{6} + 6 \, A a^{3} c^{3} \tan \left (f x + e\right )^{5} + 15 \, B a^{3} c^{3} \tan \left (f x + e\right )^{4} + 20 \, A a^{3} c^{3} \tan \left (f x + e\right )^{3} + 15 \, B a^{3} c^{3} \tan \left (f x + e\right )^{2} + 30 \, A a^{3} c^{3} \tan \left (f x + e\right )}{30 \, f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] time = 1.35219, size = 420, normalized size = 5. \begin{align*} \frac{{\left (160 i \, A + 160 \, B\right )} a^{3} c^{3} e^{\left (6 i \, f x + 6 i \, e\right )} + 240 i \, A a^{3} c^{3} e^{\left (4 i \, f x + 4 i \, e\right )} + 96 i \, A a^{3} c^{3} e^{\left (2 i \, f x + 2 i \, e\right )} + 16 i \, A a^{3} c^{3}}{15 \,{\left (f e^{\left (12 i \, f x + 12 i \, e\right )} + 6 \, f e^{\left (10 i \, f x + 10 i \, e\right )} + 15 \, f e^{\left (8 i \, f x + 8 i \, e\right )} + 20 \, f e^{\left (6 i \, f x + 6 i \, e\right )} + 15 \, f e^{\left (4 i \, f x + 4 i \, e\right )} + 6 \, f e^{\left (2 i \, f x + 2 i \, e\right )} + f\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 2.64689, size = 1071, normalized size = 12.75 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]